package com.ps.service.person;


import com.ps.entity.Result;
import com.ps.entity.person.Manager;
import com.ps.pojo.person.Employee;
import com.ps.service.BaseService;

public interface EmployeeService extends BaseService<Employee> {
	
	
	public Employee login(String username, String pwd);
	
	/**
	 * 查找管理员信息
	 * @param pageSize
	 * @param startIndex
	 * @return
	 */
	public Result findManagerByPage(final int pageSize, final int startIndex);
	
	

	
    /**
     * 添加管理员
     * @param manager
     * @return
     */
    public Result addManager(Manager manager, String password);
    
    
    
    /**
     * 更新管理员
     * @param manager
     * @return
     */
    public Result updateManager(Manager manager, String password);
    
}
